<%@ page import="com.restfb.*" %>
<%@ page import="com.restfb.types.*" %>
<%@ page import="com.google.unizone.client.SessionManager" %>
<%@ page import="java.util.*" %>
<%@ page import="com.google.unizone.server.DB_Logic" %>
<%@ page import="com.google.unizone.server.IShiur" %>
<%@ page import="com.google.unizone.server.*" %>

<!doctype html>
<html>
  <head>
 <script type="text/javascript" src="jquery-1.2.2.pack.js"></script>

<style type="text/css">

div.htmltooltip{
position: absolute; /*leave this and next 3 values alone*/
z-index: 1000;
left: -1000px;
top: -1000px;
background: #272727;
border: 10px solid black;
color: white;
padding: 3px;
width: 250px; /*width of tooltip*/
}

</style>

<script type="text/javascript" src="htmltooltip.js">

/***********************************************
* Inline HTML Tooltip script- by JavaScript Kit (http://www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more
***********************************************/

</script>
 
  <link type="text/css" rel="stylesheet" href="style.css">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

  </head>
  <body>
  	<div id=allWhiteBox>
  		<%=Utils.appToString("friend")%>
  
  		<%     
  		String studentID= request.getParameter("studentID");
  		Student student = DB_Logic.getStudent(studentID);
%>
			<p>
	  			<div id= "headline"><p><%= student.toString(true) %></p></div>
	  			<h3 id = "studentHeaderComment">(<%=DB_Logic.checkIfStudentFree(student)%>)</h3>
	  		</p>
	  		<p>
	  			<h3 id="sub_header">Schedule</h3>
				<%= Utils.scheduleToString(student)%>
			</p>
			<p >
				<%=Utils.backToHomeToString()%>
			</p>
		</div>
	</body>
	
</html>